/*===== code build by mstore0.1.3 =====*/

/*===== zhbManageSystem/operatesAddDaili#main:0 =====*/
$(function(){
    $('.submitAddBtn').click(function(){
        var datas = {};
        $('.userDetailCon input').each(function(){
            var name = $(this).attr('name');
            datas[name] = $(this).val();
        });
        
        $('.userDetailCon select').each(function(){
            var name = $(this).attr('name');
            datas[name] = $(this).val();
        });
        
        $$.post('addDailiInfo.json', function(resp){
            if(resp.err){
                alert(resp.err)
            }else{
                location.reload();
            }
        },datas)
    });
})
